export interface hospitalSetSearchParamsType {
  hosname?: string;
  hoscode?: string;
}

export interface addHospitalSetParamsType{
  hosname:string,
  hoscode:string,
  apiUrl:string,
  contactsName:string,
  contactsPhone:string
}

export interface getHospitalSetListItemType {
  id: number;
  createTime: string;
  updateTime: string;
  isDeleted: number;
  param: object;
  hosname: string;
  hoscode: string;
  apiUrl: string;
  signKey: string;
  contactsName: string;
  contactsPhone: string;
  status: 1 | 0;
}

export type getHospitalSetRecordsType = getHospitalSetListItemType[];

export interface getHospitalSetListReqReturnType {
  records: getHospitalSetRecordsType;
  total: number;
  size: number;
  current: number;
  orders: any;
  hitCount: boolean;
  searchCount: boolean;
  pages: number;
}

export interface updateHospitalSetParamsType extends addHospitalSetParamsType {
  id:number
} 